const TENANT_KEY = 'tenantId';

const getTenantId = () => {
  return localStorage.getItem(TENANT_KEY);
};

const setTenantId = (tenantId: string) => {
  localStorage.setItem(TENANT_KEY, tenantId);
};

const clearTenantId = () => {
  localStorage.removeItem(TENANT_KEY);
};

export { getTenantId, setTenantId, clearTenantId };
